acm: Code restructuring on domain create/destroy.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 24 Apr 2007 15:52:15 +0000 (16:52 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 24 Apr 2007 15:52:15 +0000 (16:52 +0100)
commit4bac6e2302028b588def780f75334fe95d71fecc
treee555bfee8547f87eaabd0c1834952c2ef82cc068
parentb13b1bffc1eee6e9e080bbd7f20fa1d807ea026d
acm: Code restructuring on domain create/destroy.

When a domain is created, the function acm_domain_create() in
domain_create() is called that does what previously the pre- and
post_domain_create functions were doing. Similarly there's a function
acm_domain_destroy() in domain_kill() that reverts changes to state
when destroying a domain. There's no more separate initialization
necessary for domain-0, but domain_create takes one more parameter,
the ssidref. It is usually passed through the hypercall when a domain
is created.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
xen/acm/acm_chinesewall_hooks.c
xen/acm/acm_null_hooks.c
xen/acm/acm_simple_type_enforcement_hooks.c
xen/arch/ia64/xen/xensetup.c
xen/arch/powerpc/setup.c
xen/arch/x86/setup.c
xen/common/domain.c
xen/common/domctl.c
xen/include/acm/acm_hooks.h
xen/include/xen/sched.h